package com.rockcent.wechat;

import com.rockcent.common.BaseProp;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by oyhk on 16/5/3.
 * 自定义属性类
 */
@Component
public class Prop extends BaseProp {

    @Value("${mysql.druidDataSource.url}")
    public String jdbcUrl;
    @Value("${mysql.druidDataSource.username}")
    public String jdbcUsername;
    @Value("${mysql.druidDataSource.password}")
    public String jdbcPassword;

    @Value("${cookie.customer-name}")
    public String cookieCustomerName;
    @Value("${customer.login-name}")
    public String customerLoginName;
    @Value("${cookie.first.domain}")
    public String cookieFirstDomain;

    @Value("${aliyun.oss.endpoint}")
    public String aliyunOssEndpoint;
    @Value("${aliyun.oss.access-key-id}")
    public String aliyunOssAccessKeyId;
    @Value("${aliyun.oss.access-key-secret}")
    public String aliyunOssaccessKeySecret;
    @Value("${aliyun.oss.bucket-name}")
    public String aliyunOssBucketName;
    @Value("${domain.uploads.http}")
    public String domainUploadsHttp;
    @Value("${payment.notify.url.wechat}")
    public String paymentNotifyUrlWechat;

}
